@charset'utf-8';
@import 'reset.scss';

.section {
    width: 1920px;
    height: 1050px;

    .sectionTop {
        width: 1200px;
        margin: 0 auto;

        h2 {
            margin: 88px 50px 25px 50px;
            font-size: 45px;
            color: #333333;
            text-align: center;
        }

        div {
            font-size: 16px;
            color: #f9a575;
            text-align: center;
            margin-bottom: 30px;
        }
    }

    .sectionCnt {
        width: 1200px;
        margin: 0 auto;
        display: flex;
        margin-bottom: 20px;

        .sectionCnta {
            width: 277px;
            height: 385px;
            border: 0px solid #000;
            position: relative;


            img {
                position: absolute;
                z-index: 1;
            }

            .sectionCnt1 {
                width: 277px;
                height: 385px;
                position: absolute;
                z-index: 2;
                display: none;
                
                .sectionCnt2{
                    width: 277px;
                    height: 312px;
                    background-color: #333333;
                    opacity: 0.5;
                    a:nth-of-type(1) {
                        font-size: 15px;
                        color: #c2c2c2;
                        text-align: center;
                        position: absolute;
                        top: 130px;
                        left: 100px;
                    }
    
                    a:nth-of-type(2) {
                        font-size: 17px;
                        color: #c2c2c2;
                        text-align: center;
                        position: absolute;
                        top: 165px;
                        left: 70px;
                    }
                }
              

                .sectionCntb {
                    width: 277px;
                    height: 73px;
                    background-color: #000;
                    text-align: center;
                    position: absolute;
                    bottom: 0;

                    p:nth-of-type(1) {
                        color: #a6a6a6;
                        margin-top: 20px;
                    }

                    p:nth-of-type(2) {
                        color: #a6a6a6;
                        margin-top: 10px;
                    }
                }
            }



        }
    }

    .sectionCnta:hover .sectionCnt1 {
        display: block;
    }

    .sectionFooter {
        width: 1200px;
        margin: 0 auto;
        display: flex;
    }
}

.eternal {
    width: 1920px;
    height: 497px;
    position: relative;

    img {
        position: absolute;
    }

    p:nth-of-type(1) {
        font-size: 70px;
        color: #fff;
        position: absolute;
        z-index: 2;
        top: 144px;
        left: 664px;
    }

    p:nth-of-type(2) {
        font-size: 44px;
        color: #fff;
        position: absolute;
        z-index: 2;
        top: 280px;
        left: 766px;

    }
}

.main {
    width: 1920px;
    height: 1936px;
    background-color: rgb(245, 234, 236);

    .mainHead {
        width: 1200px;
        margin: 0 auto;
        padding-top: 88px;

        h2 {
            margin: 0 50px 15px 50px;
            font-size: 45px;
            color: #333333;
            text-align: center;
        }

        div {
            font-size: 16px;
            color: #f9a575;
            text-align: center;
            margin-bottom: 85px;
        }
    }

    .mainCnt {
        width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        text-align: center;
        margin-bottom: 30px;

        .mainCnta {
            width: 380px;
            height: 530px;
            background-color: #fff;

            p:nth-of-type(1) {
                color: #f9a575;
                font-size: 18px;
            }

            p:nth-of-type(2) {
                margin: 19px 0 30px 0;
                color: #666666;
                font-size: 15px;
            }

            button {
                font-size: 9px;
                color: #fff;
                background-color: #f9a575;
                padding: 5px 18px;
                border: 0;
            }
        }

    }
}

.mainCnta:hover {
    box-shadow: 0px 2px 1px 5px rgb(235, 219, 219);
}